package com.youpingou.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @auther Created by yuanxinqi
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value="tb_impression")
public class Impression {

    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(value = "title")
    @JsonProperty("title")
    private String title;
    @TableField(value = "count")
    @JsonProperty("count")
    private Integer count;
    @TableField(value = "spu_id")
    @JsonProperty("spu_id")
    private Integer spuId;
    @TableField(value = "sku_id")
    @JsonProperty("sku_id")
    private Integer skuId;
    
}